﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace _17bangMVC.Models
{
    public class PlanModel
    {
        [Required(ErrorMessage = "标题不能为空")]
        public string Title { get; set; }
        [Required(ErrorMessage = "关键字不能为空")]
        public string Label { get; set; }
        public string Prove { get; set; }
        public string Person { get; set; }
        public bool GoOn { get; set; }
        [DataType(DataType.Date)]
        public DateTime StartTime { get; set; }
        [DataType(DataType.Date)]
        public DateTime EndTime { get; set; }
        public int? Day { get; set; }
        public string SelfDescription { get; set; }
        [Required(ErrorMessage = "未交作业惩罚不能为空")]
        public int? BangMoney { get; set; }
    }
}
